package org.smartercontext.contextmger.locationgatherer;

/**
 * 
 * @author JuanPablo
 * @version 1.0
 * @creation_date 09 Mar 2014
 * This class allows modeling the complete user's geolocation
 *
 */
public class CompleteGeolocation {

	private String user;
	private String latitude;
    private String longitude;
    private String place;
    private String neighborhood;
    private String city;
    private String country;
    private String complete_address;
    private String zipCode;
    
    /**
     * Simple Class constructor 
     */
    public CompleteGeolocation(){
        
    }

    /**
     * 
     * @param user
     * @param latitude
     * @param longitude
     * @param neighborhood
     * @param city
     * @param country
     * @param complete_address
     * @param zipCode
     * @param place
     * 
     * Complete class constructor
     */
    public CompleteGeolocation(String user, String latitude, String longitude, String neighborhood, 
            String city, String country, String complete_address, String zipCode, String place) {
    	this.user = user;
        this.latitude = latitude;
        this.longitude = longitude;
        this.neighborhood = neighborhood;
        this.city = city;
        this.country = country;
        this.complete_address = complete_address;
        this.zipCode = zipCode;
        this.place = place;
    }

    
    /**
     * @return String
     * Access method
     */
    public String getUser() {
		return user;
	}

    /**
     * @param user
     * Set method
     */
	public void setUser(String user) {
		this.user = user;
	}

	/**
     * @return String
     * Access method
     */
    public String getLatitude() {
        return latitude;
    }

    /**
     * @param latitude
     * Set Method
     */
    public void setLatitude(String latitude) {
        this.latitude = latitude;
    }

    /**
     * @return String
     * Access method
     */
    public String getLongitude() {
        return longitude;
    }

    /**
     * @param longitude
     * Set method
     */
    public void setLongitude(String longitude) {
        this.longitude = longitude;
    }

    /**
     * @return String
     * Access method
     */
    public String getNeighborhood() {
        return neighborhood;
    }

    /**
     * @param neighborhood
     * Set method
     */
    public void setNeighborhood(String neighborhood) {
        this.neighborhood = neighborhood;
    }

    /**
     * @return String
     * Access method
     */
    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCountry() {
        return country;
    }

    public void setCountry(String country) {
        this.country = country;
    }

    public String getComplete_address() {
        return complete_address;
    }

    public void setComplete_address(String complete_address) {
        this.complete_address = complete_address;
    }

    public String getZipCode() {
        return zipCode;
    }

    public void setZipCode(String zipCode) {
        this.zipCode = zipCode;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    @Override
    public String toString() {
        return "CompleteGeolocation\n\n" + "latitude=" + latitude + "\nlongitude=" + longitude + "\nplace=" + place + "\nneighborhood=" + neighborhood + "\ncity=" + city + "\ncountry=" + country + "\ncomplete_address=" + complete_address + "\nzipCode=" + zipCode;
    }
}
